package com.imooc.miaosha.service;

import com.imooc.miaosha.pojo.MiaoshaGoods;
import com.imooc.miaosha.pojo.User;
import com.imooc.miaosha.util.JsonData;

import java.util.List;
import java.util.Map;

public interface SecondKillService {
    public Map<String, Object> buy(Long userId, Long secondKillId, Long shppingId, String path);

    public JsonData receiveOrder(User user, Long miaoshaId, Long shippingId);

    public JsonData list();

    public Map<String, Object> add(MiaoshaGoods miaoshaGoods);
}
